package com.scau.data.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.Version;
import lombok.Data;

/**
 * 库存
 */
@Data
@TableName("stock")
public class StockDO {
    private String barCode;
    private Integer warehouseId;
    private Integer stock;


    public String getBarCode() {
        return barCode;
    }

    public void setBarCode(String barCode) {
        this.barCode = barCode;
    }

    public Integer getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(Integer warehouseId) {
        this.warehouseId = warehouseId;
    }

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }

    @Override
    public String toString() {
        return "StockDo{" +
                "barCode='" + barCode + '\'' +
                ", warehouseId=" + warehouseId +
                ", stock=" + stock +
                '}';
    }
}
